package com.chen.winnerframework.constants;

/**
 * 消息常量
 *
 * @author chengy
 * @date 2022/11/18
 */
public class MessageConstants {

    public static final String SUCCESS = "操作成功";
    public static final String FAIL = "操作失败";
    public static final String UNAUTHORIZED = "暂未登录或token已过期";
    public static final String FORBIDDEN = "没有相关权限";
    public static final String CAPTCHA_ERROR = "验证码错误";
    public static final String USER_LOGIN_FAIL = "用户名或密码错误";
    public static final String RESET_PWD_FAIL = "用户名或邮箱错误";
    public static final String USER_IS_DISABLE = "账号被禁用，请联系管理员";
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String ROLE_NAME_OR_CODE_REPEAT = "角色名称或编码重复";
    public static final String DELETE_ROLE_FAIL = "存在被用户关联的角色，无法删除";
    public static final String UPDATE_ROLE_STATUS_FAIL = "该角色被用户所关联，无法禁用";
    public static final String MENU_NAME_REPEAT = "菜单名称重复，请检查";
    public static final String PARENT_MENU_CAN_NOT_BE_SELF = "上级菜单不能为自身";
    public static final String PARENT_MENU_TYPE_ERROR = "目录和菜单的上级菜单只能为目录";
    public static final String BUTTON_PARENT_MENU_TYPE_ERROR = "按钮上级菜单只能为菜单";
    public static final String MENU_STATUS_ERROR = "该菜单被角色关联，无法禁用";
    public static final String DELETE_MENU_ERROR = "该菜单下存在子菜单，无法删除";
    public static final String DELETE_MENU_FAIL = "该菜单或其下的子菜单被角色所关联，无法删除";
    public static final String OLD_PWD_ERROR = "原密码错误";
    public static final String USERNAME_REPEAT = "用户名已被占用";
    public static final String PWD_NOT_BE_EMPTY = "密码不能为空";
    public static final String EMAIL_REPEAT = "邮箱已被占用";
    public static final String TONG_ZHI_FAIL = "通知内容必须为空";
    public static final String GONG_GAO_FAIL = "公告内容不能为空";
    public static final String FILE_IS_EMPTY = "上传文件为空";
    public static final String UNKNOWN_ERROR = "未知错误";

}



